package com.lovo;

import com.lovo.bean.UserInfoBean;
import com.lovo.service.IReviewInfoService;
import com.lovo.service.IUserInfoService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@RunWith(SpringRunner.class)
@SpringBootTest
public class test {
    @Resource
    private IReviewInfoService reviewInfoService;

    @Test
    public void test(){
//        System.out.println(reviewInfoService.selectAllReview());
//        reviewInfoService.add(4,1);
//        reviewInfoService.del(4,1);
//        System.out.println(reviewInfoService.findByRevId(2,1));
    }
}
